package com.scqkxx.gamebox.utils;

import android.content.Context;
import android.content.Intent;

import com.scqkxx.gamebox.activity.myself.FeedBackActivity;
import com.scqkzqtz.base.library.utils.ToastUtils;

/**
 * Created by zsx on 2018/8/13.
 */

public class StartActivityUtils {

    public static void start(Context context, String name) {
        Intent intent = new Intent();
        switch (name) {
            case "商城":
                ToastUtils.showShortToast(context, name);
                break;
            case "客服":
                ToastUtils.showShortToast(context, name);
                break;
            case "意见反馈":
                intent.setClass(context, FeedBackActivity.class);
                context.startActivity(intent);
                break;
        }
    }
}
